<?php

namespace DicManagerBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;

class DicManagerController extends Controller{

    /**
     * @Route("/dic/list",name="diclist")
     */
    public function indexAction()
    {
        $_arrDic = array(0=>array('num' => 1,'dicname' => '类别','diccode' => 'AppBundle:EntCai'));
        return $this->render('DicManagerBundle:Default:index.html.twig',array("arrdic" => $_arrDic));
    }

}